package com.gistone.commis.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import java.util.Date;
/**
 * Created by wangfan on 2017/5/22.
 */
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class FundChange {

    private Integer ppChangeId;

    private Integer ppId;

    private Integer currentState;

    private Integer currentAuditorId;

    private User currentUser;

    private Integer lastAuditorId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private Date lastDatetime;

    private Integer submitNumber;

    private Boolean isValid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date currentDatetime;

    private String suggest;

    private Double amount;

    private String field2;


    public FundChange(Integer ppChangeId, Integer ppId, Integer currentState, Integer currentAuditorId, Integer lastAuditorId, Date lastDatetime, Integer submitNumber, Boolean isValid, Date currentDatetime, String suggest, Double amount, String field2) {
        this.ppChangeId = ppChangeId;
        this.ppId = ppId;
        this.currentState = currentState;
        this.currentAuditorId = currentAuditorId;
        this.lastAuditorId = lastAuditorId;
        this.lastDatetime = lastDatetime;
        this.submitNumber = submitNumber;
        this.isValid = isValid;
        this.currentDatetime = currentDatetime;
        this.suggest = suggest;
        this.amount = amount;
        this.field2 = field2;
    }
}